{include file="public_head" /}

<!-- datatables -->
<link href="__STATIC__/js/datatables/jquery.dataTables.min.css" rel="stylesheet" type="text/css"/>
<!-- Select2 -->
<link href="__STATIC__/css/select/select2.min.css" rel="stylesheet">
<!-- chk_3 -->
<link href="__STATIC__/css/chk_3.css" rel="stylesheet" type="text/css"/>

<body class="nav-md">

<div class="container body">


  <div class="main_container">

    {include file="public_sidebar,public_nav" /}


    <!-- page content -->
    <div class="right_col" role="main">
      <div class="">
        <div class="page-title">
          <div class="title_left">
            <h3>
              抽奖纪录管理
            </h3>
          </div>
        </div>
        <div class="clearfix"></div>

        <div class="row">

          <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="x_panel">
              <div class="x_title">
                <h2>{$mate_title}</h2>
              </div>
              <div class="x_content">
                <form name="form" id="form" method="get" action="">


                  <table class="table table-striped table-bordered">
                    <thead>
                    <tr>
                      <!--<th>ID</th>-->
                      <th>中奖级别</th>
                      <th>中奖人账号</th>
                      <th>中奖人昵称</th>
                    </tr>
                    </thead>

                    <tbody>
                    {empty name="data"}
                    <tr>
                      <td colspan="10">
                        <div style='font-size:24px;margin:30px 0;'>没有找到记录</div>
                      </td>
                    </tr>
                    {/empty}
                    {volist name="data" id="item"}
                    <tr>
                      <td>{$item.level}等奖</td>
                      <td>{$item.Member.username}</td>
                      <td>{$item.Member.nickname}</td>
                    </tr>
                    {/volist}
                  </table>
                  <!-- 分页 -->
                  <div style="float: right;margin-top: -30px;">{$data->render()}</div>
                </form>
              </div>
            </div>
          </div>

        </div>
      </div>

    </div>
    <!-- /page content -->
  </div>

</div>

{include file="public_foot" /}
<!--select-->
<script src="__STATIC__/js/select/select2.full.min.js"></script>
<!-- public -->
<script src="__STATIC__/js/public.js"></script>
<!-- layer -->
<script src="__STATIC__/js/layer.js"></script>
